package com.fr.dialog.core;

import com.fr.base.core.ComparatorUtils;
import java.awt.Color;
import java.io.Serializable;

public class CellBorderStyle
  implements Cloneable, Serializable
{
  private Color topColor = Color.BLACK;
  private int topStyle = 0;
  private Color leftColor = Color.BLACK;
  private int leftStyle = 0;
  private Color bottomColor = Color.BLACK;
  private int bottomStyle = 0;
  private Color rightColor = Color.BLACK;
  private int rightStyle = 0;
  private Color verticalColor = Color.BLACK;
  private int verticalStyle = 0;
  private Color horizontalColor = Color.BLACK;
  private int horizontalStyle = 0;

  public CellBorderStyle()
  {
  }

  public CellBorderStyle(Color paramColor1, int paramInt1, Color paramColor2, int paramInt2, Color paramColor3, int paramInt3, Color paramColor4, int paramInt4, Color paramColor5, int paramInt5, Color paramColor6, int paramInt6)
  {
    setTopColor(paramColor1);
    setTopStyle(paramInt1);
    setLeftColor(paramColor2);
    setLeftStyle(paramInt2);
    setBottomColor(paramColor3);
    setBottomStyle(paramInt3);
    setRightColor(paramColor4);
    setRightStyle(paramInt4);
    setVerticalColor(paramColor5);
    setVerticalStyle(paramInt5);
    setHorizontalColor(paramColor6);
    setHorizontalStyle(paramInt6);
  }

  public Color getTopColor()
  {
    return this.topColor;
  }

  public void setTopColor(Color paramColor)
  {
    this.topColor = paramColor;
  }

  public int getTopStyle()
  {
    return this.topStyle;
  }

  public void setTopStyle(int paramInt)
  {
    this.topStyle = paramInt;
  }

  public Color getLeftColor()
  {
    return this.leftColor;
  }

  public void setLeftColor(Color paramColor)
  {
    this.leftColor = paramColor;
  }

  public int getLeftStyle()
  {
    return this.leftStyle;
  }

  public void setLeftStyle(int paramInt)
  {
    this.leftStyle = paramInt;
  }

  public Color getBottomColor()
  {
    return this.bottomColor;
  }

  public void setBottomColor(Color paramColor)
  {
    this.bottomColor = paramColor;
  }

  public int getBottomStyle()
  {
    return this.bottomStyle;
  }

  public void setBottomStyle(int paramInt)
  {
    this.bottomStyle = paramInt;
  }

  public Color getRightColor()
  {
    return this.rightColor;
  }

  public void setRightColor(Color paramColor)
  {
    this.rightColor = paramColor;
  }

  public int getRightStyle()
  {
    return this.rightStyle;
  }

  public void setRightStyle(int paramInt)
  {
    this.rightStyle = paramInt;
  }

  public Color getVerticalColor()
  {
    return this.verticalColor;
  }

  public void setVerticalColor(Color paramColor)
  {
    this.verticalColor = paramColor;
  }

  public int getVerticalStyle()
  {
    return this.verticalStyle;
  }

  public void setVerticalStyle(int paramInt)
  {
    this.verticalStyle = paramInt;
  }

  public Color getHorizontalColor()
  {
    return this.horizontalColor;
  }

  public void setHorizontalColor(Color paramColor)
  {
    this.horizontalColor = paramColor;
  }

  public int getHorizontalStyle()
  {
    return this.horizontalStyle;
  }

  public void setHorizontalStyle(int paramInt)
  {
    this.horizontalStyle = paramInt;
  }

  public boolean equals(Object paramObject)
  {
    if (!(paramObject instanceof CellBorderStyle))
      return false;
    CellBorderStyle localCellBorderStyle = (CellBorderStyle)paramObject;
    return ((getTopStyle() == localCellBorderStyle.getTopStyle()) && (ComparatorUtils.equals(getTopColor(), localCellBorderStyle.getTopColor())) && (getLeftStyle() == localCellBorderStyle.getLeftStyle()) && (ComparatorUtils.equals(getLeftColor(), localCellBorderStyle.getLeftColor())) && (getBottomStyle() == localCellBorderStyle.getBottomStyle()) && (ComparatorUtils.equals(getBottomColor(), localCellBorderStyle.getBottomColor())) && (getRightStyle() == localCellBorderStyle.getRightStyle()) && (ComparatorUtils.equals(getRightColor(), localCellBorderStyle.getRightColor())) && (getVerticalStyle() == localCellBorderStyle.getVerticalStyle()) && (ComparatorUtils.equals(getVerticalColor(), localCellBorderStyle.getVerticalColor())) && (getHorizontalStyle() == localCellBorderStyle.getHorizontalStyle()) && (ComparatorUtils.equals(getHorizontalColor(), localCellBorderStyle.getHorizontalColor())));
  }

  public Object clone()
    throws CloneNotSupportedException
  {
    return super.clone();
  }
}